# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xcmsdb
pkgver=1.0.6
pkgrel=1
pkgdesc="Device Color Characterization utility for X Color Management System"
url="https://xorg.freedesktop.org/"
arch="all"
license="custom"
subpackages="$pkgname-doc"
makedepends="libx11-dev"
source="https://www.x.org/releases/individual/app/xcmsdb-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
0046f98410f63c94a59174a337f51c9404c07858260f4859d56591c90adfbf88a889e3940f783152473c6a60a234e42fc853d46c7cac65d3d9d62b0dff18ec10  xcmsdb-1.0.6.tar.gz
"
